/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.dto;

import java.math.BigDecimal;

/**
 *
 * @author Thomas
 */
public class TarrifDTO {
    
    private Long id;
    private String name;
    private BigDecimal pricePerKG;
    private BigDecimal pricePerKM;
    private BigDecimal deliveryFee;

    public BigDecimal getPricePerKG() {
        return pricePerKG;
    }

    public void setPricePerKG(BigDecimal pricePerKG) {
        this.pricePerKG = pricePerKG;
    }

    public BigDecimal getPricePerKM() {
        return pricePerKM;
    }

    public void setPricePerKM(BigDecimal pricePerKM) {
        this.pricePerKM = pricePerKM;
    }

    public BigDecimal getDeliveryFee() {
        return deliveryFee;
    }

    public void setDeliveryFee(BigDecimal deliveryFee) {
        this.deliveryFee = deliveryFee;
    }
    
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    
    @Override 
    public String toString() {
        return name + " " + pricePerKG.toString() + " " + pricePerKM.toString() + " " + deliveryFee.toString();
    }

}
